package com.jims.master.modules.sys.dao;

import com.jims.master.common.persistence.CrudDao;
import com.jims.master.common.persistence.annotation.MyBatisDao;
import com.jims.master.modules.sys.entity.Area;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@MyBatisDao
public interface AreaMapper extends CrudDao<Area> {

     Area getAreasByCode(@Param("code") String code);

     Area findParentByCode(@Param("code") String code);

     Area getAreasParentByCode(@Param("code") String code);

     public List<Area> findProList(Area area);
}